package cn.com.cifi.mars.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 集团审批价格版本表
 * </p>
 *
 * @author yyd
 * @since 2021-07-07
 */
@TableName("t_price_version_group")
public class PriceVersionGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 项目ID
     */
    private String projectId;

    /**
     * 分期ID
     */
    private String projectfId;

    /**
     * 分期Code
     */
    private String stageCode;

    /**
     * 分期名称
     */
    private String stageName;
    
    private String sourcePriceVersionId;
    
    private String sourcePriceVersionNum;
    
    private String sourcePriceVersionName;
    
    private String billId;
    
    private String versionId;

    /**
     * 版本名称
     */
    private String versionName;

    /**
     * 版本号
     */
    private String versionNum;

    /**
     * 版本类型：(投资版 战规版 大定价版 动态版)
     */
    private String versionType;

    /**
     * 版本标签
     */
    private Integer versionLable;

    /**
     * 上个版本
     */
    private String preVersionId;

    /**
     * 上个版本
     */
    private String preVersionNum;

    /**
     * 楼栋业态面积-版本阶段
     */
    private String sourceAreaVersionStage;

    /**
     * 楼栋业态面积-版本号
     */
    private String sourceAreaVersionNum;

    /**
     * 楼栋业态面积-创建时间
     */
    private LocalDateTime sourceAreaCreatedTime;

    /**
     * 楼栋业态面积-供销存接收时间
     */
    private LocalDateTime sourceAreaSysCreatedTime;

    /**
     * 组团楼栋关系-版本阶段
     */
    private String sourceGroupVersionStage;

    /**
     * 组团楼栋关系-版本号
     */
    private String sourceGroupVersionCode;

    /**
     * 组团楼栋关系-审批时间
     */
    private LocalDateTime sourceGroupApprovalTime;

    /**
     * 组团楼栋关系-供销存接收时间
     */
    private LocalDateTime sourceGroupCreateTime;

    /**
     * 版本来源-面积版本
     */
    private String sourceArea;

    /**
     * 版本来源-面积版本_详情
     */
    private String sourceAreaDetail;

    /**
     * 版本来源-楼栋计划版本
     */
    private String sourcePlan;

    /**
     * 楼栋计划-版本阶段
     */
    private String sourcePanoVersionType;

    /**
     * 楼栋计划-版本号
     */
    private String sourcePanoPlanVersion;

    /**
     * 楼栋计划-创建时间
     */
    private LocalDateTime sourcePanoCreatedDate;

    /**
     * 是否定稿(0：不是 1：是)
     */
    private Integer isFinalization;

    /**
     * 是否供货确认(0：不是 1：是)
     */
    private Integer isSupplyConfirm;

    /**
     * 供货确认时间
     */
    private LocalDateTime supplyConfirmTime;

    /**
     * 封稿时间
     */
    private LocalDateTime sealTime;

    /**
     * 归属年月
     */
    private LocalDateTime ascriptionDate;

    /**
     * 版本来源-楼栋计划版本_详情
     */
    private String sourcePlanDetail;

    /**
     * 版本来源-货值计划版本
     */
    private String sourceValue;

    /**
     * 版本状态
 ("not_prepared","待编制"),
 ("organization","编制中"),
 ("examined_approved","待提交审批"),
 ("approved","审批中"),
 ("failure_approved","审批已驳回"),
 ("success_approved","审批通过"),
 ("sys_generation","系统生成")
     */
    private String versionState;

    /**
     * 版本创建状态：1.月初自动创建 2.自动创建 3.手动创建 
     */
    private String versionCreateState;

    /**
     * 版本备注
     */
    private String remake;

    /**
     * 是否包含销售明源货值
     */
    private Integer isContainSale;

    /**
     * 是否考核版本 0：不是 1：是
     */
    private Integer isAssessmentVersion;

    /**
     * 是否删除
     */
    private Integer isDelete;

    /**
     * 取数系统编码
     */
    private String countingSystemCode;

    /**
     * 取数系统Id
     */
    private String countingSystemId;

    /**
     * 取数生效日期
     */
    private LocalDateTime countingTime;

    /**
     * 营销操盘方式
     */
    private String isMarket;

    /**
     * 是否总裁审批版本
     */
    private Integer isPresident;

    /**
     * 普调版本标识（1--是；0--否）
     */
    private Integer batchAdjust;

    /**
     * 创建人员
     */
    private String createBy;

    private LocalDateTime createTime;

    /**
     * 变更人员
     */
    private String updateBy;

    private LocalDateTime updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }
    public String getProjectfId() {
        return projectfId;
    }

    public void setProjectfId(String projectfId) {
        this.projectfId = projectfId;
    }
    public String getStageCode() {
        return stageCode;
    }

    public void setStageCode(String stageCode) {
        this.stageCode = stageCode;
    }
    public String getStageName() {
        return stageName;
    }

    public void setStageName(String stageName) {
        this.stageName = stageName;
    }
    
    public String getSourcePriceVersionId() {
		return sourcePriceVersionId;
	}

	public void setSourcePriceVersionId(String sourcePriceVersionId) {
		this.sourcePriceVersionId = sourcePriceVersionId;
	}

	public String getSourcePriceVersionNum() {
		return sourcePriceVersionNum;
	}

	public void setSourcePriceVersionNum(String sourcePriceVersionNum) {
		this.sourcePriceVersionNum = sourcePriceVersionNum;
	}

	public String getSourcePriceVersionName() {
		return sourcePriceVersionName;
	}

	public void setSourcePriceVersionName(String sourcePriceVersionName) {
		this.sourcePriceVersionName = sourcePriceVersionName;
	}

	public String getBillId() {
		return billId;
	}

	public void setBillId(String billId) {
		this.billId = billId;
	}

	public String getVersionId() {
		return versionId;
	}

	public void setVersionId(String versionId) {
		this.versionId = versionId;
	}

	public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }
    public String getVersionNum() {
        return versionNum;
    }

    public void setVersionNum(String versionNum) {
        this.versionNum = versionNum;
    }
    public String getVersionType() {
        return versionType;
    }

    public void setVersionType(String versionType) {
        this.versionType = versionType;
    }
    public Integer getVersionLable() {
        return versionLable;
    }

    public void setVersionLable(Integer versionLable) {
        this.versionLable = versionLable;
    }
    public String getPreVersionId() {
        return preVersionId;
    }

    public void setPreVersionId(String preVersionId) {
        this.preVersionId = preVersionId;
    }
    public String getPreVersionNum() {
        return preVersionNum;
    }

    public void setPreVersionNum(String preVersionNum) {
        this.preVersionNum = preVersionNum;
    }
    public String getSourceAreaVersionStage() {
        return sourceAreaVersionStage;
    }

    public void setSourceAreaVersionStage(String sourceAreaVersionStage) {
        this.sourceAreaVersionStage = sourceAreaVersionStage;
    }
    public String getSourceAreaVersionNum() {
        return sourceAreaVersionNum;
    }

    public void setSourceAreaVersionNum(String sourceAreaVersionNum) {
        this.sourceAreaVersionNum = sourceAreaVersionNum;
    }
    public LocalDateTime getSourceAreaCreatedTime() {
        return sourceAreaCreatedTime;
    }

    public void setSourceAreaCreatedTime(LocalDateTime sourceAreaCreatedTime) {
        this.sourceAreaCreatedTime = sourceAreaCreatedTime;
    }
    public LocalDateTime getSourceAreaSysCreatedTime() {
        return sourceAreaSysCreatedTime;
    }

    public void setSourceAreaSysCreatedTime(LocalDateTime sourceAreaSysCreatedTime) {
        this.sourceAreaSysCreatedTime = sourceAreaSysCreatedTime;
    }
    public String getSourceGroupVersionStage() {
        return sourceGroupVersionStage;
    }

    public void setSourceGroupVersionStage(String sourceGroupVersionStage) {
        this.sourceGroupVersionStage = sourceGroupVersionStage;
    }
    public String getSourceGroupVersionCode() {
        return sourceGroupVersionCode;
    }

    public void setSourceGroupVersionCode(String sourceGroupVersionCode) {
        this.sourceGroupVersionCode = sourceGroupVersionCode;
    }
    public LocalDateTime getSourceGroupApprovalTime() {
        return sourceGroupApprovalTime;
    }

    public void setSourceGroupApprovalTime(LocalDateTime sourceGroupApprovalTime) {
        this.sourceGroupApprovalTime = sourceGroupApprovalTime;
    }
    public LocalDateTime getSourceGroupCreateTime() {
        return sourceGroupCreateTime;
    }

    public void setSourceGroupCreateTime(LocalDateTime sourceGroupCreateTime) {
        this.sourceGroupCreateTime = sourceGroupCreateTime;
    }
    public String getSourceArea() {
        return sourceArea;
    }

    public void setSourceArea(String sourceArea) {
        this.sourceArea = sourceArea;
    }
    public String getSourceAreaDetail() {
        return sourceAreaDetail;
    }

    public void setSourceAreaDetail(String sourceAreaDetail) {
        this.sourceAreaDetail = sourceAreaDetail;
    }
    public String getSourcePlan() {
        return sourcePlan;
    }

    public void setSourcePlan(String sourcePlan) {
        this.sourcePlan = sourcePlan;
    }
    public String getSourcePanoVersionType() {
        return sourcePanoVersionType;
    }

    public void setSourcePanoVersionType(String sourcePanoVersionType) {
        this.sourcePanoVersionType = sourcePanoVersionType;
    }
    public String getSourcePanoPlanVersion() {
        return sourcePanoPlanVersion;
    }

    public void setSourcePanoPlanVersion(String sourcePanoPlanVersion) {
        this.sourcePanoPlanVersion = sourcePanoPlanVersion;
    }
    public LocalDateTime getSourcePanoCreatedDate() {
        return sourcePanoCreatedDate;
    }

    public void setSourcePanoCreatedDate(LocalDateTime sourcePanoCreatedDate) {
        this.sourcePanoCreatedDate = sourcePanoCreatedDate;
    }
    public Integer getIsFinalization() {
        return isFinalization;
    }

    public void setIsFinalization(Integer isFinalization) {
        this.isFinalization = isFinalization;
    }
    public Integer getIsSupplyConfirm() {
        return isSupplyConfirm;
    }

    public void setIsSupplyConfirm(Integer isSupplyConfirm) {
        this.isSupplyConfirm = isSupplyConfirm;
    }
    public LocalDateTime getSupplyConfirmTime() {
        return supplyConfirmTime;
    }

    public void setSupplyConfirmTime(LocalDateTime supplyConfirmTime) {
        this.supplyConfirmTime = supplyConfirmTime;
    }
    public LocalDateTime getSealTime() {
        return sealTime;
    }

    public void setSealTime(LocalDateTime sealTime) {
        this.sealTime = sealTime;
    }
    public LocalDateTime getAscriptionDate() {
        return ascriptionDate;
    }

    public void setAscriptionDate(LocalDateTime ascriptionDate) {
        this.ascriptionDate = ascriptionDate;
    }
    public String getSourcePlanDetail() {
        return sourcePlanDetail;
    }

    public void setSourcePlanDetail(String sourcePlanDetail) {
        this.sourcePlanDetail = sourcePlanDetail;
    }
    public String getSourceValue() {
        return sourceValue;
    }

    public void setSourceValue(String sourceValue) {
        this.sourceValue = sourceValue;
    }
    public String getVersionState() {
        return versionState;
    }

    public void setVersionState(String versionState) {
        this.versionState = versionState;
    }
    public String getVersionCreateState() {
        return versionCreateState;
    }

    public void setVersionCreateState(String versionCreateState) {
        this.versionCreateState = versionCreateState;
    }
    public String getRemake() {
        return remake;
    }

    public void setRemake(String remake) {
        this.remake = remake;
    }
    public Integer getIsContainSale() {
        return isContainSale;
    }

    public void setIsContainSale(Integer isContainSale) {
        this.isContainSale = isContainSale;
    }
    public Integer getIsAssessmentVersion() {
        return isAssessmentVersion;
    }

    public void setIsAssessmentVersion(Integer isAssessmentVersion) {
        this.isAssessmentVersion = isAssessmentVersion;
    }
    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
    public String getCountingSystemCode() {
        return countingSystemCode;
    }

    public void setCountingSystemCode(String countingSystemCode) {
        this.countingSystemCode = countingSystemCode;
    }
    public String getCountingSystemId() {
        return countingSystemId;
    }

    public void setCountingSystemId(String countingSystemId) {
        this.countingSystemId = countingSystemId;
    }
    public LocalDateTime getCountingTime() {
        return countingTime;
    }

    public void setCountingTime(LocalDateTime countingTime) {
        this.countingTime = countingTime;
    }
    public String getIsMarket() {
        return isMarket;
    }

    public void setIsMarket(String isMarket) {
        this.isMarket = isMarket;
    }
    public Integer getIsPresident() {
        return isPresident;
    }

    public void setIsPresident(Integer isPresident) {
        this.isPresident = isPresident;
    }
    public Integer getBatchAdjust() {
        return batchAdjust;
    }

    public void setBatchAdjust(Integer batchAdjust) {
        this.batchAdjust = batchAdjust;
    }
    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "PriceVersionGroup{" +
        "id=" + id +
        ", projectId=" + projectId +
        ", projectfId=" + projectfId +
        ", stageCode=" + stageCode +
        ", stageName=" + stageName +
        ", versionName=" + versionName +
        ", versionNum=" + versionNum +
        ", versionType=" + versionType +
        ", versionLable=" + versionLable +
        ", preVersionId=" + preVersionId +
        ", preVersionNum=" + preVersionNum +
        ", sourceAreaVersionStage=" + sourceAreaVersionStage +
        ", sourceAreaVersionNum=" + sourceAreaVersionNum +
        ", sourceAreaCreatedTime=" + sourceAreaCreatedTime +
        ", sourceAreaSysCreatedTime=" + sourceAreaSysCreatedTime +
        ", sourceGroupVersionStage=" + sourceGroupVersionStage +
        ", sourceGroupVersionCode=" + sourceGroupVersionCode +
        ", sourceGroupApprovalTime=" + sourceGroupApprovalTime +
        ", sourceGroupCreateTime=" + sourceGroupCreateTime +
        ", sourceArea=" + sourceArea +
        ", sourceAreaDetail=" + sourceAreaDetail +
        ", sourcePlan=" + sourcePlan +
        ", sourcePanoVersionType=" + sourcePanoVersionType +
        ", sourcePanoPlanVersion=" + sourcePanoPlanVersion +
        ", sourcePanoCreatedDate=" + sourcePanoCreatedDate +
        ", isFinalization=" + isFinalization +
        ", isSupplyConfirm=" + isSupplyConfirm +
        ", supplyConfirmTime=" + supplyConfirmTime +
        ", sealTime=" + sealTime +
        ", ascriptionDate=" + ascriptionDate +
        ", sourcePlanDetail=" + sourcePlanDetail +
        ", sourceValue=" + sourceValue +
        ", versionState=" + versionState +
        ", versionCreateState=" + versionCreateState +
        ", remake=" + remake +
        ", isContainSale=" + isContainSale +
        ", isAssessmentVersion=" + isAssessmentVersion +
        ", isDelete=" + isDelete +
        ", countingSystemCode=" + countingSystemCode +
        ", countingSystemId=" + countingSystemId +
        ", countingTime=" + countingTime +
        ", isMarket=" + isMarket +
        ", isPresident=" + isPresident +
        ", batchAdjust=" + batchAdjust +
        ", createBy=" + createBy +
        ", createTime=" + createTime +
        ", updateBy=" + updateBy +
        ", updateTime=" + updateTime +
        "}";
    }
}
